home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: node20_ct.html
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 52 65 | 67 69 73 74 65 72 69 6e |ts of Re|gisterin|
|000000b0| 67 20 74 68 65 20 6e 65 | 77 20 74 79 70 65 3c 2f |g the ne|w type</|
|000000c0| 54 49 54 4c 45 3e 0a 0a | 3c 4d 45 54 41 20 48 54 |TITLE>..|<META HT|
|000000d0| 54 50 2d 45 51 55 49 56 | 3d 22 43 6f 6e 74 65 6e |TP-EQUIV|="Conten|
|000000e0| 74 2d 54 79 70 65 22 20 | 43 4f 4e 54 45 4e 54 3d |t-Type" |CONTENT=|
|000000f0| 22 74 65 78 74 2f 68 74 | 6d 6c 3b 20 63 68 61 72 |"text/ht|ml; char|
|00000100| 73 65 74 3d 75 74 66 2d | 38 22 3e 0a 3c 4d 45 54 |set=utf-|8">.<MET|
|00000110| 41 20 4e 41 4d 45 3d 22 | 76 69 65 77 70 6f 72 74 |A NAME="|viewport|
|00000120| 22 20 43 4f 4e 54 45 4e | 54 3d 22 77 69 64 74 68 |" CONTEN|T="width|
|00000130| 3d 64 65 76 69 63 65 2d | 77 69 64 74 68 2c 20 69 |=device-|width, i|
|00000140| 6e 69 74 69 61 6c 2d 73 | 63 61 6c 65 3d 31 2e 30 |nitial-s|cale=1.0|
|00000150| 22 3e 0a 3c 4d 45 54 41 | 20 4e 41 4d 45 3d 22 47 |">.<META| NAME="G|
|00000160| 65 6e 65 72 61 74 6f 72 | 22 20 43 4f 4e 54 45 4e |enerator|" CONTEN|
|00000170| 54 3d 22 4c 61 54 65 58 | 32 48 54 4d 4c 20 76 32 |T="LaTeX|2HTML v2|
|00000180| 30 32 32 22 3e 0a 0a 3c | 4c 49 4e 4b 20 52 45 4c |022">..<|LINK REL|
|00000190| 3d 22 53 54 59 4c 45 53 | 48 45 45 54 22 20 48 52 |="STYLES|HEET" HR|
|000001a0| 45 46 3d 22 45 78 74 65 | 6e 64 69 6e 67 2e 63 73 |EF="Exte|nding.cs|
|000001b0| 73 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |s">..<LI|NK REL="|
|000001c0| 6e 65 78 74 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |next" HR|EF="node|
|000001d0| 32 31 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |21_mn.ht|ml">.<LI|
|000001e0| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|000001f0| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 31 38 5f 6d |" HREF="|node18_m|
|00000200| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|00000210| 45 4c 3d 22 75 70 22 20 | 48 52 45 46 3d 22 6e 6f |EL="up" |HREF="no|
|00000220| 64 65 31 36 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |de16_mn.|html">.<|
|00000230| 4c 49 4e 4b 20 52 45 4c | 3d 22 6e 65 78 74 22 20 |LINK REL|="next" |
|00000240| 48 52 45 46 3d 22 6e 6f | 64 65 32 31 5f 6d 6e 2e |HREF="no|de21_mn.|
|00000250| 68 74 6d 6c 22 3e 0a 3c | 2f 48 45 41 44 3e 0a 20 |html">.<|/HEAD>. |
|00000260| 0a 3c 42 4f 44 59 20 62 | 67 63 6f 6c 6f 72 3d 22 |.<BODY b|gcolor="|
|00000270| 23 66 66 66 66 66 66 22 | 20 74 65 78 74 3d 22 23 |#ffffff"| text="#|
|00000280| 30 30 30 30 30 30 22 20 | 6c 69 6e 6b 3d 22 23 39 |000000" |link="#9|
|00000290| 39 34 34 45 45 22 20 76 | 6c 69 6e 6b 3d 22 23 30 |944EE" v|link="#0|
|000002a0| 30 30 30 66 66 22 20 61 | 6c 69 6e 6b 3d 22 23 30 |000ff" a|link="#0|
|000002b0| 30 66 66 30 30 22 3e 0a | 0a 3c 48 33 3e 3c 41 20 |0ff00">.|.<H3><A |
|000002c0| 49 44 3d 22 53 45 43 54 | 49 4f 4e 30 30 30 36 31 |ID="SECT|ION00061|
|000002d0| 33 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 22 |30000000|0000000"|
|000002e0| 3e 0a 52 65 67 69 73 74 | 65 72 69 6e 67 20 74 68 |>.Regist|ering th|
|000002f0| 65 20 6e 65 77 20 74 79 | 70 65 3c 2f 41 3e 0a 3c |e new ty|pe</A>.<|
|00000300| 2f 48 33 3e 0a 0a 3c 50 | 3e 0a 4f 6e 63 65 20 61 |/H3>..<P|>.Once a|
|00000310| 20 3c 54 54 3e 53 54 6b | 5f 65 78 74 65 6e 64 65 | <TT>STk|_extende|
|00000320| 64 5f 73 63 68 65 6d 65 | 5f 74 79 70 65 3c 2f 54 |d_scheme|_type</T|
|00000330| 54 3e 20 73 74 72 75 63 | 74 75 72 65 20 69 73 20 |T> struc|ture is |
|00000340| 64 65 66 69 6e 65 64 2c | 20 74 68 65 20 6e 65 77 |defined,| the new|
|00000350| 20 74 79 70 65 20 63 61 | 6e 0a 62 65 20 72 65 67 | type ca|n.be reg|
|00000360| 69 73 74 65 72 65 64 20 | 69 6e 74 6f 20 74 68 65 |istered |into the|
|00000370| 20 69 6e 74 65 72 70 72 | 65 74 65 72 2e 20 52 65 | interpr|eter. Re|
|00000380| 67 69 73 74 65 72 69 6e | 67 20 61 20 6e 65 77 20 |gisterin|g a new |
|00000390| 74 79 70 65 20 69 73 20 | 64 6f 6e 65 20 62 79 20 |type is |done by |
|000003a0| 74 68 65 20 0a 53 54 6b | 5f 61 64 64 5f 6e 65 77 |the .STk|_add_new|
|000003b0| 5f 74 79 70 65 20 66 75 | 6e 63 74 69 6f 6e 2e 20 |_type fu|nction. |
|000003c0| 0a 54 68 65 20 70 72 6f | 74 6f 74 79 70 65 20 6f |.The pro|totype o|
|000003d0| 66 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |f this f|unction |
|000003e0| 69 73 20 67 69 76 65 6e | 20 62 65 6c 6f 77 0a 3c |is given| below.<|
|000003f0| 42 52 3e 0a 3c 49 4d 47 | 0a 20 20 53 54 59 4c 45 |BR>.<IMG|. STYLE|
|00000400| 3d 22 22 20 53 52 43 3d | 22 69 6d 67 32 31 2e 70 |="" SRC=|"img21.p|
|00000410| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000420| 7b 43 6f 64 65 7d 0a 5c | 62 65 67 69 6e 7b 6c 69 |{Code}.\|begin{li|
|00000430| 73 74 69 6e 67 7d 5b 32 | 30 30 5d 7b 32 7d 0a 69 |sting}[2|00]{2}.i|
|00000440| 6e 74 20 53 54 6b 5f 61 | 64 64 5f 6e 65 77 5f 74 |nt STk_a|dd_new_t|
|00000450| 79 70 65 28 53 54 6b 5f | 65 78 74 65 6e 64 65 64 |ype(STk_|extended|
|00000460| 5f 73 63 68 65 6d 65 5f | 74 79 70 65 20 2a 70 29 |_scheme_|type *p)|
|00000470| 0a 5c 65 6e 64 7b 6c 69 | 73 74 69 6e 67 7d 5c 65 |.\end{li|sting}\e|
|00000480| 6e 64 7b 43 6f 64 65 7d | 22 3e 0a 3c 42 52 3e 0a |nd{Code}|">.<BR>.|
|00000490| 54 68 65 20 69 6e 74 65 | 67 65 72 20 72 65 74 75 |The inte|ger retu|
|000004a0| 72 6e 65 64 20 62 79 20 | 74 68 69 73 20 66 75 6e |rned by |this fun|
|000004b0| 63 74 69 6f 6e 20 69 73 | 20 74 68 65 20 28 75 6e |ction is| the (un|
|000004c0| 69 71 75 65 29 20 6b 65 | 79 20 61 73 73 6f 63 69 |ique) ke|y associ|
|000004d0| 61 74 65 64 20 74 6f 20 | 74 68 65 20 6e 65 77 0a |ated to |the new.|
|000004e0| 74 79 70 65 2e 20 54 68 | 69 73 20 6b 65 79 20 69 |type. Th|is key i|
|000004f0| 73 20 73 74 6f 72 65 64 | 20 69 6e 20 65 61 63 68 |s stored| in each|
|00000500| 20 63 65 6c 6c 20 6f 66 | 20 74 68 65 20 6e 65 77 | cell of| the new|
|00000510| 20 74 79 70 65 2e 0a 0a | 3c 50 3e 0a 57 65 20 68 | type...|<P>.We h|
|00000520| 61 76 65 20 6e 6f 77 20 | 65 6e 6f 75 67 68 20 6d |ave now |enough m|
|00000530| 61 74 65 72 69 61 6c 20 | 74 6f 20 64 65 66 69 6e |aterial |to defin|
|00000540| 65 20 74 68 65 20 3c 54 | 54 3e 53 54 6b 5f 65 78 |e the <T|T>STk_ex|
|00000550| 74 65 6e 64 65 64 5f 73 | 63 68 65 6d 65 5f 74 79 |tended_s|cheme_ty|
|00000560| 70 65 3c 2f 54 54 3e 20 | 66 6f 72 20 74 68 65 20 |pe</TT> |for the |
|00000570| 6e 65 77 20 74 79 70 65 | 20 3c 45 4d 3e 73 74 61 |new type| <EM>sta|
|00000580| 63 6b 3c 2f 45 4d 3e 2e | 20 54 68 69 73 0a 64 65 |ck</EM>.| This.de|
|00000590| 63 6c 61 72 61 74 69 6f | 6e 20 63 61 6e 20 62 65 |claratio|n can be|
|000005a0| 20 64 6f 6e 65 20 69 6e | 20 74 68 65 20 66 6f 6c | done in| the fol|
|000005b0| 6c 6f 77 69 6e 67 20 77 | 61 79 3a 0a 3c 42 52 3e |lowing w|ay:.<BR>|
|000005c0| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 22 |.<IMG. |STYLE=""|
|000005d0| 20 53 52 43 3d 22 69 6d | 67 32 32 2e 70 6e 67 22 | SRC="im|g22.png"|
|000005e0| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 43 6f |. ALT="\|begin{Co|
|000005f0| 64 65 7d 0a 5c 62 65 67 | 69 6e 7b 6c 69 73 74 69 |de}.\beg|in{listi|
|00000600| 6e 67 7d 5b 32 30 30 5d | 7b 32 7d 0a 73 74 61 74 |ng}[200]|{2}.stat|
|00000610| 69 63 20 76 6f 69 64 20 | 6d 61 72 6b 5f 73 74 61 |ic void |mark_sta|
|00000620| 63 6b 28 53 43 4d 20 70 | 29 3b 0a 73 74 61 74 69 |ck(SCM p|);.stati|
|00000630| 63 20 76 6f 69 64 20 2e | 2e 2e 0a 2e 2e 2e 79 5f |c void .|......y_|
|00000640| 73 74 61 63 6b 28 53 43 | 4d 20 73 2c 20 53 43 4d |stack(SC|M s, SCM|
|00000650| 20 70 6f 72 74 2c 20 69 | 6e 74 20 6d 6f 64 65 29 | port, i|nt mode)|
|00000660| 3b 0a 73 74 61 74 69 63 | 20 69 6e 74 20 74 63 5f |;.static| int tc_|
|00000670| 73 74 61 63 6b 3b 0a 5c | 65 6e 64 7b 6c 69 73 74 |stack;.\|end{list|
|00000680| 69 6e 67 7d 5c 65 6e 64 | 7b 43 6f 64 65 7d 22 3e |ing}\end|{Code}">|
|00000690| 0a 3c 42 52 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |.<BR>.<B|R>.<IMG.|
|000006a0| 20 20 53 54 59 4c 45 3d | 22 22 20 53 52 43 3d 22 | STYLE=|"" SRC="|
|000006b0| 69 6d 67 32 33 2e 70 6e | 67 22 0a 20 41 4c 54 3d |img23.pn|g". ALT=|
|000006c0| 22 5c 62 65 67 69 6e 7b | 43 6f 64 65 7d 0a 5c 62 |"\begin{|Code}.\b|
|000006d0| 65 67 69 6e 7b 6c 69 73 | 74 69 6e 67 7d 5b 32 30 |egin{lis|ting}[20|
|000006e0| 30 5d 7b 32 7d 0a 73 74 | 61 74 69 63 20 53 54 6b |0]{2}.st|atic STk|
|000006f0| 5f 65 78 74 65 6e 64 65 | 64 5f 73 63 68 65 6d 65 |_extende|d_scheme|
|00000700| 5f 74 79 70 65 20 73 74 | 61 63 6b 5f 74 79 70 65 |_type st|ack_type|
|00000710| 20 2e 2e 2e 0a 2e 2e 2e | 55 4c 4c 2c 20 2f 2a 20 | .......|ULL, /* |
|00000720| 61 70 70 6c 79 5f 66 63 | 74 20 2a 2f 0a 64 69 73 |apply_fc|t */.dis|
|00000730| 70 6c 61 79 5f 73 74 61 | 63 6b 20 2f 2a 20 64 69 |play_sta|ck /* di|
|00000740| 73 70 6c 61 79 5f 66 63 | 74 20 2a 2f 0a 7d 3b 0a |splay_fc|t */.};.|
|00000750| 5c 65 6e 64 7b 6c 69 73 | 74 69 6e 67 7d 5c 65 6e |\end{lis|ting}\en|
|00000760| 64 7b 43 6f 64 65 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |d{Code}"|>.<BR>..|
|00000770| 3c 50 3e 0a 54 68 69 73 | 20 64 65 66 69 6e 69 74 |<P>.This| definit|
|00000780| 69 6f 6e 20 74 65 6c 6c | 73 20 74 68 65 20 69 6e |ion tell|s the in|
|00000790| 74 65 72 70 72 65 74 65 | 72 20 74 68 61 74 20 74 |terprete|r that t|
|000007a0| 68 65 20 6e 65 77 20 74 | 79 70 65 20 69 73 20 6e |he new t|ype is n|
|000007b0| 6f 74 20 61 0a 70 72 6f | 63 65 64 75 72 65 20 28 |ot a.pro|cedure (|
|000007c0| 66 69 65 6c 64 20 20 3c | 54 54 3e 69 73 5f 70 72 |field <|TT>is_pr|
|000007d0| 6f 63 70 3c 2f 54 54 3e | 20 69 73 20 73 65 74 20 |ocp</TT>| is set |
|000007e0| 74 6f 20 30 29 2e 20 43 | 6f 6e 73 65 71 75 65 6e |to 0). C|onsequen|
|000007f0| 74 6c 79 2c 20 74 68 65 | 20 0a 3c 54 54 3e 61 70 |tly, the| .<TT>ap|
|00000800| 70 6c 79 5f 66 63 74 3c | 2f 54 54 3e 20 69 73 20 |ply_fct<|/TT> is |
|00000810| 73 65 74 20 74 6f 20 4e | 55 4c 4c 2e 20 4e 6f 74 |set to N|ULL. Not|
|00000820| 65 20 74 68 61 74 20 61 | 20 64 69 73 70 6c 61 79 |e that a| display|
|00000830| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 0a 70 72 6f | functio|n is.pro|
|00000840| 76 69 64 65 64 20 68 65 | 72 65 2e 20 49 74 20 70 |vided he|re. It p|
|00000850| 65 72 6d 69 74 73 20 74 | 6f 20 75 73 65 64 20 61 |ermits t|o used a|
|00000860| 20 63 75 73 74 6f 6d 69 | 7a 65 64 20 70 72 69 6e | customi|zed prin|
|00000870| 74 69 6e 67 0a 66 75 6e | 63 74 69 6f 6e 2e 20 0a |ting.fun|ction. .|
|00000880| 0a 3c 50 3e 0a 0a 3c 48 | 52 3e 0a 0a 3c 2f 42 4f |.<P>..<H|R>..</BO|
|00000890| 44 59 3e 0a 3c 2f 48 54 | 4d 4c 3e 0a |DY>.</HT|ML>. |
+--------+-------------------------+-------------------------+--------+--------+